package com.example.demo.mapper;

import com.example.demo.entity.attention;
import com.example.demo.entity.users;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface attentionMapper {
    //添加关注
    public void insertattention(attention attention);

    //取消关注
    public void deleteattention(List<attention> attention);

    //关注查询
    public List<attention> selectattention(attention attention);

    //粉丝查询
    public List<attention>selectFans(attention attention);
    //查询关注的人
    public List<attention>selectgz(attention attention);


}
